.PHONT:all
all:server client

client:client.cpp
	g++ -o $@ $^ -std=c++11 -lpthread

server:main.cpp
	g++ -o $@ $^ -std=c++11 -lpthread

.PHONY:clean
clean:
	rm -f server client